package com.ruoyi.quartz.dao;

import java.util.List;
import java.util.Map;

import com.ruoyi.quartz.domain.JobInfoConfig;
import com.ruoyi.quartz.domain.JobLogDTO;

public interface BaseJobDao {

	void updateJobConfigById(Map<String,Object> updateMap);

	String checkInstanceConfig(Map<String, String> paramMap);

	List<JobInfoConfig> getJobConfig(Map<String, String> paramMap);

	Long lockJobConfig(String jobName);

	void updateJobLogByIdlogDTO(JobLogDTO logDTO);

	Long insertJobLog(JobLogDTO logDTO);

	String getCronTime(Map<String, String> params);

	int updateJobRunningStatus(Map<String, String> paramMap);
	
	Boolean judgePreviousJobStatus(String jobName);

	Long getJobLimitOne(Map<String, Object> updateMap);

	List<JobInfoConfig> selectJobList(JobInfoConfig job);

}
